package tech.aistar.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data // getter/setter toString equals和hashCode
@AllArgsConstructor //全参构造
@NoArgsConstructor // 空参构造
public class User implements Serializable {
    private Integer id;
    private String username;
    private String email;
    private String password;
    private int role;
    private String headerImg;
}
